package com.zzedu.vo;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.time.LocalDateTime;

public class TimetableVO {

    /**
     * 绘本ID
     */
    private Long id;

    /**
     * 单元名称
     */
    private String unitName;
    /**
     * 绘本日期
     */
    private String name;

    /**
     * 上课时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime studyTime;
    /**
     * 上课时间
     */
    private String[] learnTime;
    private Integer sortNo;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public LocalDateTime getStudyTime() {
        return studyTime;
    }

    public void setStudyTime(LocalDateTime studyTime) {
        this.studyTime = studyTime;
    }

    public Integer getSortNo() {
        return sortNo;
    }

    public void setSortNo(Integer sortNo) {
        this.sortNo = sortNo;
    }

    public String[] getLearnTime() {
        return learnTime;
    }

    public void setLearnTime(String[] learnTime) {
        this.learnTime = learnTime;
    }

    public String getUnitName() {
        return unitName;
    }

    public void setUnitName(String unitName) {
        this.unitName = unitName;
    }
}
